package com.ponhu.ea2.stockcenter.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ponhu.ea2.stockcenter.provider.entity.StockWarehouseRelation;
import com.ponhu.ea2.stockcenter.vo.InventorySalesStockInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.ponhu.ea2.stockcenter.provider.entity.StockWarehouseRelation
 */
@Mapper
public interface StockWarehouseRelationMapper extends BaseMapper<StockWarehouseRelation> {

    Integer getTotalRealStockNumByInventoryCode(@Param("inventoryCode") String inventoryCode);

    List<InventorySalesStockInfo> getSalesStockInfo(@Param("inventoryCodeList") List<String> inventoryCodeList);

}




